---
import config from '@/config/config.json'
import '@/styles/main.scss'
import {SITE_DESCRIPTION, SITE_TITLE} from "../consts";
import BackendHeader from "../components/BackendHeader.astro";
import ManagerSide from "../components/ManagerSide.astro";
const {title = SITE_TITLE, description = SITE_DESCRIPTION} = Astro.props;
---
<!doctype html>
<html lang="zh-cn">
<head>
    <title>{title}</title>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width,initial-scale=1"/>
    <link rel="shortcut icon" href={config.site.favicon}/>
</head>

<body class="flex flex-col min-h-[100vh]">
<BackendHeader/>
<main class="grow">
    <div class="flex">
        <ManagerSide/>
        <div class="grow">
            <slot/>
        </div>
    </div>
</main>
</body>
</html>
